package com.guigu.mapper;

import com.cjj.vo.TMentalityVo;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.TMentalityResult;
import com.lc.vo.assessView;

import java.util.List;
import java.util.Map;

public interface TMentalityResultMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TMentalityResult record);

    int insertSelective(TMentalityResult record);

    TMentalityResult selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMentalityResult record);

    int updateByPrimaryKey(TMentalityResult record);
//分页查询

    List<TMentalityVo> queryMentality(TMentalityVo condition);

//
//    查询是否以经体检过
    TMentalityVo queryTMentalityIsNull(String fileName);
//添加心理评估
    int addMentality(Map map);
//修改心理评估
    int updateMentality(Map map);
//添加人群分类
    int classification(String tmemberId);

//    查询评估总人数
    int selecttmentallsumpeploe();
    //查询今日评估
    int selectdaytmentallsum(String date);

    List<TMentalityResult> selectalltmentalu();


}